﻿namespace EYCmsAdmin.Domain.Models
{
    public class StudyGroup : BaseDomainModel
    {
        public virtual string Name { get; set; }

        public virtual User User { get; set; }

        public virtual EducationInstitution EducationInstitution { get; set; }

        public virtual StudyGroupInformation StudyGroupInformation { get; set; }

        public override int GetHashCode()
        {
            return string.Concat(Name, Id, EducationInstitution.Id, StudyGroupInformation.Id).GetHashCode();
        }
    }
}
